projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6ebf83
)
Fix previous change.
author
Kenichi Handa
<handa@gnu.org>
Sun, 10 Mar 2013 15:06:04 +0000
(
00:06
+0900)
committer
Kenichi Handa
<handa@gnu.org>
Sun, 10 Mar 2013 15:06:04 +0000
(
00:06
+0900)
src/coding.c
patch
|
blob
|
history
diff --git
a/src/coding.c
b/src/coding.c
index 98af4ddcef7cfbaf1035156424ca6e62894642bf..d6560a92b702ab328a4d93dae02eff56b1c6f604 100644
(file)
--- a/
src/coding.c
+++ b/
src/coding.c
@@
-7509,7
+7509,9
@@
decode_coding_gap (struct coding_system *coding,
#ifndef CODING_DISABLE_ASCII_OPTIMIZATION
if (! NILP (CODING_ATTR_ASCII_COMPAT (attrs))
&& NILP (CODING_ATTR_POST_READ (attrs))
- && NILP (get_translation_table (attrs, 0, NULL)))
+ && NILP (get_translation_table (attrs, 0, NULL))
+ && (inhibit_eol_conversion
+ || EQ (CODING_ID_EOL_TYPE (coding->id), Qunix)))
{
/* We can skip the conversion if all source bytes are ASCII. */
if (coding->head_ascii < 0)